# --------------------------------------------------------------------------- VERSION = BCB.01 # --------------------------------------------------------------------------- !ifndef BCB BCB = $(MAKEDIR)\.. !endif # --------------------------------------------------------------------------- PROJECT = KeyGenerator.exe OBJFILES = KeyGenerator.obj Main.obj RESFILES = KeyGenerator.res RESDEPEN = $(RESFILES) Main.dfm LIBFILES = DEFFILE = # --------------------------------------------------------------------------- CFLAG1 = -Od -Hc -w -k -r- -y -v -vi- -c -a4 -b- -w-par -w-inl -Vx -Ve -x CFLAG2 = -I$(BCB)\examples\controls;$(BCB)\include;$(BCB)\include\vcl \ -H=$(BCB)\lib\vcld.csm PFLAGS = -U$(BCB)\examples\controls;$(BCB)\lib\obj;$(BCB)\lib \ -I$(BCB)\examples\controls;$(BCB)\include;$(BCB)\include\vcl \ -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -v \ -$Y -$W -$O- -JPHNV -M RFLAGS = -i$(BCB)\examples\controls;$(BCB)\include;$(BCB)\include\vcl LFLAGS = -L$(BCB)\examples\controls;$(BCB)\lib\obj;$(BCB)\lib -aa -Tpe -x -v \ -V4.0 IFLAGS = LINKER = ilink32 # --------------------------------------------------------------------------- ALLOBJ = c0w32.obj $(OBJFILES) ALLRES = $(RESFILES) ALLLIB = $(LIBFILES) vcl.lib import32.lib cp32mt.lib keygen.lib # --------------------------------------------------------------------------- .autodepend $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE) $(BCB)\BIN\$(LINKER) @&&! $(LFLAGS) + $(ALLOBJ), + $(PROJECT),, + $(ALLLIB), + $(DEFFILE), + $(ALLRES) .pas.hpp: $(BCB)\BIN\dcc32 $(PFLAGS) { $** } .pas.obj: $(BCB)\BIN\dcc32 $(PFLAGS) { $** } .cpp.obj: $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $* .c.obj: $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $** .rc.res: $(BCB)\BIN\brcc32 $(RFLAGS) $< #-----------------------------------------------------------------------------